package com.zjs.jsp.fdservice.service;

import com.zjs.jsp.domain.config.ParamList;
import com.zjs.jsp.domain.config.ShopCode;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 李文
 * @create 2017-10-23 15:04
 **/
@FeignClient("ss-erp-basic-rest")
public interface ConfigClientService
{
    @PostMapping("/basic/getParamList")
    ParamList getParamList();

    @PostMapping("/basic/getPkCorpByShopCode")
    ShopCode getPkCorpByShopCode(@RequestParam("shopCode") String shopCode);


    @PostMapping("/basic/getCorpFdInfo")
    ShopCode getCorpFdInfo(@RequestParam("pkCorp") String pk);


}
